package com.ruoyi.dzzh.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 应急预案对象 dzzh_yjya
 * 
 * @author cjt
 * @date 2022-05-11
 */
public class DzzhYjya extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 应急预案ID */
    private Long yjyaId;

    /** 预案编号 */
    @Excel(name = "预案编号")
    private String yjyaNo;

    /** 预案标题 */
    @Excel(name = "预案标题")
    private String yjyaTitle;

    /** 预案内容 */
    @Excel(name = "预案内容")
    private String yjyaContent;

    /** 发布来源 */
    @Excel(name = "发布来源")
    private String publishSource;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publishTime;

    /** 附件 */
    @Excel(name = "附件")
    private String files;

    /** 发布状态（0正常 1关闭） */
    @Excel(name = "发布状态", readConverterExp = "0=正常,1=关闭")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setYjyaId(Long yjyaId) 
    {
        this.yjyaId = yjyaId;
    }

    public Long getYjyaId() 
    {
        return yjyaId;
    }
    public void setYjyaNo(String yjyaNo) 
    {
        this.yjyaNo = yjyaNo;
    }

    public String getYjyaNo() 
    {
        return yjyaNo;
    }
    public void setYjyaTitle(String yjyaTitle) 
    {
        this.yjyaTitle = yjyaTitle;
    }

    public String getYjyaTitle() 
    {
        return yjyaTitle;
    }
    public void setYjyaContent(String yjyaContent) 
    {
        this.yjyaContent = yjyaContent;
    }

    public String getYjyaContent() 
    {
        return yjyaContent;
    }
    public void setPublishSource(String publishSource) 
    {
        this.publishSource = publishSource;
    }

    public String getPublishSource() 
    {
        return publishSource;
    }
    public void setPublishTime(Date publishTime) 
    {
        this.publishTime = publishTime;
    }

    public Date getPublishTime() 
    {
        return publishTime;
    }
    public void setFiles(String files) 
    {
        this.files = files;
    }

    public String getFiles() 
    {
        return files;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("yjyaId", getYjyaId())
            .append("yjyaNo", getYjyaNo())
            .append("yjyaTitle", getYjyaTitle())
            .append("yjyaContent", getYjyaContent())
            .append("publishSource", getPublishSource())
            .append("publishTime", getPublishTime())
            .append("files", getFiles())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
